import request from '@/utils/request'

// 查询不良代码列表
export function defectCodeList(params) {
  return request({
    url: '/qcmasterdata/defectCode/list',
    method: 'get',
    params
  })
}

// 查询不良代码详情
export function defectCodeDetail(id) {
  return request({
    url: '/qcmasterdata/defectCode/'+id,
    method: 'get'
  })
}

